package com.zyy.meetObject2;

public class OrderTest {
    public static void main(String[] args) {
        Order order1 = new Order(1001,"orderAA");
        Order order2 = new Order(1001,"orderAA");
        String s1 = "AAA";
        String s2 = "AAA";
        System.out.println(s1 == s2);//True
        System.out.println(order1.equals(order2));
    }
}
